import { WeaTools } from 'ecCom';

export const getCondition = params => {
    return WeaTools.callApi('/api/workflow/batchToDoc/getCondition', 'POST', params);
}

export const getListResult = params => {
    return WeaTools.callApi('/api/workflow/batchToDoc/getListResult', 'POST', params);
}

export const doWorkflowToDoc = params => {
    return WeaTools.callApi('/api/workflow/batchToDoc/doWorkflowToDoc', 'POST', params);
}

/**获取未操作者**/
export const getUnoperators = params => {
    return WeaTools.callApi('/api/workflow/reqlist/getUnoperators', 'POST', params);
}